// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BOM_ITEM_MATERIAL
// * CreateDate    : 2014-06-05 18:29:39
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:39
// * LastChanger   : 2014-06-05 18:29:39
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BomItemMaterialTable : TableInfo
    {
		public const string C_TableName = "BOM_ITEM_MATERIAL";
		
		public const string C_ID = "ID";
		public const string C_BOM_ITEM_ID = "BOM_ITEM_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_PICKING_MODEL = "PICKING_MODEL";
		public const string C_NET_SIZE = "NET_SIZE";
		public const string C_GROSS_SIZE = "GROSS_SIZE";
		public const string C_UNIT_WEIGHT = "UNIT_WEIGHT";
		public const string C_REMARK = "REMARK";
		public const string C_MANUFACTURING_TYPE = "MANUFACTURING_TYPE";
		
		public BomItemMaterialTable()
        {
            _tableName = "BOM_ITEM_MATERIAL";
        }
		
		protected static BomItemMaterialTable _current;
        public static BomItemMaterialTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BomItemMaterialTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_BOM_ITEM_ID, new ColumnInfo(C_BOM_ITEM_ID,"BomItemId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_PICKING_MODEL, new ColumnInfo(C_PICKING_MODEL,"PickingModel", false, typeof(string)));
            _current.Add(C_NET_SIZE, new ColumnInfo(C_NET_SIZE,"NetSize", false, typeof(string)));
            _current.Add(C_GROSS_SIZE, new ColumnInfo(C_GROSS_SIZE,"GrossSize", false, typeof(string)));
            _current.Add(C_UNIT_WEIGHT, new ColumnInfo(C_UNIT_WEIGHT,"UnitWeight", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_MANUFACTURING_TYPE, new ColumnInfo(C_MANUFACTURING_TYPE,"ManufacturingType", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo BOM_ITEM_ID
        {
            get { return this[C_BOM_ITEM_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo PICKING_MODEL
        {
            get { return this[C_PICKING_MODEL]; }
        }
		
		public ColumnInfo NET_SIZE
        {
            get { return this[C_NET_SIZE]; }
        }
		
		public ColumnInfo GROSS_SIZE
        {
            get { return this[C_GROSS_SIZE]; }
        }
		
		public ColumnInfo UNIT_WEIGHT
        {
            get { return this[C_UNIT_WEIGHT]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo MANUFACTURING_TYPE
        {
            get { return this[C_MANUFACTURING_TYPE]; }
        }
		
		
		
	}
}

